﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GraphosData
{
    public enum Gender { Male, Female }
    public enum Relation { Mother, Father, Sister, Brother, Wife, Husband, Daughter, Son, Unknown, lover, friend }

    public class Person : IComparable<Person>
    {
        public string ID { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public Gender Gender { get; set; }
        //public IEnumerable<string> RelationshipIds
        //{
        //    get { return m_relationshipIds; }
        //}

        //private List<string> m_relationshipIds = new List<string>();

        public override string ToString()
        {
            return FirstName;
        }

        #region IComparable<Person> Members

        public int CompareTo(Person other)
        {
            return FirstName.CompareTo(other.FirstName);
        }

        #endregion
    }
}
